#ifndef __LISTING_25_H__
#define __LISTING_25_H__


#include <thread>

#include "common.h"

std::thread f()
{

	return std::thread(some_function);
}
std::thread g()
{
	std::thread t(some_other_function, 42);

	return t;
}

void test()
{
	std::thread t1 = f();
	t1.join();

	std::thread t2 = g();
	t2.join();
}

#endif

